<li style="list-style-type:none; margin-bottom:8px;">
                    <script language="javascript" type="text/javascript">
                    //in order to show a pic in first row so i have to add this script code
                        var oldTitle="[field:title /]";
                        var newStr="";
                        var strs=new Array();
                        strs=oldTitle.split("<");
                        if(strs.length==1){
                            newStr=oldTitle;
                        }
                        if(strs.length==3){
                            var strtIndex=oldTitle.indexOf(">");
                            var endIndex=oldTitle.indexOf("</");
                            var strResult=oldTitle.substring(strtIndex+1,endIndex);
                            newStr=strResult;
                        }
                        if(strs.length==5){
                            var strtIndex=oldTitle.indexOf("\">");
                            if(strtIndex==-1){
                                strtIndex=oldTitle.indexOf("'>");
                            }
                            var endIndex=oldTitle.indexOf("</");
                            var strResult=oldTitle.substring(strtIndex+2,endIndex);
                            newStr=strResult;
                        }
                        
                        if([field:global.autoindex/]==1 && "[field:flag /]".indexOf("c")!=-1){
                            document.write("<div style='padding-left: 1px;margin-bottom:3px;'><div style='width:200px; text-overflow:ellipsis; white-space:nowrap; overflow:hidden;'>");
                            document.write('<a class="indexfengxbtitle" href="[field:arcurl/]"  title=\"'+newStr+'\">');
                            document.write("[field:title/]</a>");
                            document.write("</div></div>");
                            
                            document.write("<div style='height:42px;margin-bottom:12px;'><span style='float:left;margin-right:10px;'>")
                            document.write("[field:array runphp='yes']@me = (empty(@me['litpic']) ? "" : "<a href='{@me['arcurl']}' class='preview'><img src='{@me['litpic']}' height=48 width=48/></a>"); [/field:array]");
                            document.write("</span>");
                            
                            document.write('<span style="color:gray;">[field:description function="cn_substr(@me,80)"/]...<a href="[field:arcurl/]"><font color="red">[详情]</font></a></span>');
                            document.write("</div>");
                            
                        }else{
                            document.write('<a class="indexfengxbtitle" href="[field:arcurl /]" title=\"'+newStr+'\">');
                            document.write("[field:title /]</a>");
                        }
                    </script>
                  </li>